package com.example.springbootmybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//封装一个自定义的结果集类  T泛型 遇到实际的业务进行对应具体替换
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultMap<T> {
    private  Integer code;
    private String msg;
    private T result;
}
